import { default as request, cloud } from '@/framework/utils/request'
// 查询页面列表
const getHrOrganizationTermList = (params) => request({ url: cloud.dqbasic + '/hrOrganizationTerm/page', method: 'get', params })
// 查询党组织树
const getOrganizationTree = (params) => request({ url: cloud.dqbasic + '/hrOrganization/currentTree', method: 'get', params })
// 延期请示
const delayApplay = (params) => request({ url: cloud.dqbasic + '/hrOrganizationTerm/delayApplay', method: 'post', data: params })
// 延期批复
const delayApproval = (params) => request({ url: cloud.dqbasic + '/hrOrganizationTerm/delayApproval', method: 'post', data: params })
// 延期详情
const getHrOrganizationTermDetail = (params) => request({ url: cloud.dqbasic + '/hrOrganizationTerm/detail', method: 'get', params })
// 添加换届信息
const addHrOrganizationTerm = (params) => request({ url: cloud.dqbasic + '/hrOrganizationTerm/add', method: 'post', data: params })
// 模板下载
// const getPartyMemberList = (params) => request({ url: '/partyMember/excelImport', method: 'get', params })
export {
  getHrOrganizationTermList,
  getOrganizationTree,
  delayApplay,
  delayApproval,
  addHrOrganizationTerm,
  getHrOrganizationTermDetail
}
